package com.ruoyi.member.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员管理对象 member
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员唯一标识符 */
    private Long id;

    /** 会员名 */
    @Excel(name = "会员名")
    private String username;

    /** 手机号码, 必须唯一 */
    @Excel(name = "手机号码, 必须唯一")
    private String mobile;

    /** 微信名 */
    @Excel(name = "微信名")
    private String wechatName;

    /** QQ号码 */
    @Excel(name = "QQ号码")
    private String qqNumber;

    /** 会员密码 */
    private String password;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 会员状态 */
    @Excel(name = "会员状态")
    private String status;

    /** 创建者ID, 关联employee表 */
    private Long creatorId;

    /** 最后修改者ID, 关联employee表 */
    private Long modifierId;

    /** 记录最后更新时间 */
    private Date modifyTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setWechatName(String wechatName) 
    {
        this.wechatName = wechatName;
    }

    public String getWechatName() 
    {
        return wechatName;
    }
    public void setQqNumber(String qqNumber) 
    {
        this.qqNumber = qqNumber;
    }

    public String getQqNumber() 
    {
        return qqNumber;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }
    public void setModifierId(Long modifierId) 
    {
        this.modifierId = modifierId;
    }

    public Long getModifierId() 
    {
        return modifierId;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("mobile", getMobile())
            .append("wechatName", getWechatName())
            .append("qqNumber", getQqNumber())
            .append("password", getPassword())
            .append("birthday", getBirthday())
            .append("remarks", getRemarks())
            .append("status", getStatus())
            .append("creatorId", getCreatorId())
            .append("modifierId", getModifierId())
            .append("createTime", getCreateTime())
            .append("modifyTime", getModifyTime())
            .toString();
    }
}
